package com.zoro.barn.inner.service.pp.project.service;

import com.zoro.barn.inner.service.pp.project.dao.ProjectMapper;
import com.zoro.barn.inner.service.pp.project.entity.ProjectEntity;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

/**
 * @author zhaoxingwu
 */
@Service
public class ProjectService {
    @Resource
    private ProjectMapper projectMapper;

    public List<ProjectEntity> getByIds(String[] ids) {
        return projectMapper.selectBatchIds(Arrays.asList(ids));
    }
}
